#!bash
LANG=zh_CN.UTF-8
javascript-obfuscator dist/assets --compact true --self-defending false
/bin/find dist/assets/ -name *obf* | tee temp
sed -i 's/-obfuscated//g'  temp
mv -f $(/bin/find dist/assets/ -name *obf*) $(cat temp)
echo "搞定，快快发布！";